
//上传头像
import {uploadUrl} from "@/utils/config";
import {asyncUpload} from "@/utils/upload";

export async function uploadAvatar(data: string, path: string): Promise<any> {
    return await asyncUpload('/oss/uploadFile', data, path);
}

